﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace eShop.Web.Admin.Models
{
    /// <summary>
    /// 仓库信息
    /// </summary>
    public class StockModel
    {
        public DataTable StockList { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [Display(Name = "仓库编号")]
        [Required(ErrorMessage = "编号不能为空")]
        [StringLength(20, ErrorMessage = "编号长度不能大于20")]
        public string StockBh { get; set; }


        [Display(Name = "仓库名称")]
        [Required(ErrorMessage = "名称不能为空")]
        [StringLength(50, ErrorMessage = "名称长度不能大于50")]
        public string StockMc { get; set; }


    }
}
